-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Podcast Feed Reload] Add tooltip #2735
Conversation
} | ||
} | ||
|
||
struct TipViewStatic: View { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SergioEstevao I extracted the body to a new View
as I had many problems with the size returned by the geometry proxy. Using a static view and setting this sizingOptions = [.preferredContentSize]
seems to work properly each time.
podcasts/PodcastViewController.swift
Outdated
guard | ||
Settings.shouldShowPodcastFeeReloadTip, | ||
FeatureFlag.podcastFeedUpdate.enabled, | ||
podcastFeedReloadTooltip != nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this need to be changed to == nil
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in effef97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just needs the update on the logic check on the guard.
After that all is working smoothly!
Events are tracking correctly too.
This PR adds the tooltip to advise the user of the feed reload functionality.
To test
Profile -> Cog icon at top right -> Beta Features
🔵 Tracked: podcast_refresh_episode_tooltip_shown
🔵 Tracked: podcast_refresh_episode_tooltip_dismissed
Checklist
CHANGELOG.md
if necessary.